﻿package com.bizmlib.utils
{
	public function getLineSlope(x1:Number, y1:Number, x2:Number, y2:Number):Number
	{
		var dx:Number = x2 - x1;
		
		if(dx==0)
		{
			return Number.POSITIVE_INFINITY;
		}
		
		return (y2 - y1) / dx;
	}
}